home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / src / sprited / main / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-18  |  1.1 KB  |  39 lines

  1. /*
  2.  * main.h --
  3.  *
  4.  *    External definitions for system startup and shutdown.
  5.  *
  6.  * Copyright 1991 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that this copyright
  10.  * notice appears in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /r3/kupfer/spriteserver/src/sprited/main/RCS/main.h,v 1.7 91/11/14 10:02:09 kupfer Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _MAIN
  19. #define _MAIN
  20.  
  21. #include <mach.h>
  22.  
  23. /* 
  24.  * This is the maximum number of arguments that can be passed to the init 
  25.  * program (not counting the trailing nil string pointer).  I suppose this 
  26.  * array should be allocated dynamically...
  27.  */
  28. #define MAIN_MAX_INIT_ARGS    10
  29.  
  30. extern Boolean main_DebugFlag;
  31. extern Boolean main_MultiThreaded;
  32. extern int main_NumRpcServers;  /* # of rpc servers to spawn off */
  33. extern char *main_InitArgArray[];
  34. extern char *main_InitPath;
  35.  
  36. /* procedures */
  37.  
  38. #endif /* _MAIN */
  39.